package com.chinaunicom.group.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chinaunicom.group.dao.province.ProvinceBeanMapper;
import com.chinaunicom.group.model.province.ProvinceBean;
import com.chinaunicom.group.service.IGroupProvinceService;

@Service
public class GroupProvinceServiceImpl implements IGroupProvinceService {

	@Resource
	ProvinceBeanMapper dao;
	
	@Override
	public int insert(ProvinceBean record) {
		// TODO Auto-generated method stub
		return dao.insert(record);
	}

	@Override
	public int insertSelective(ProvinceBean record) {
		// TODO Auto-generated method stub
		return dao.insertSelective(record);
	}

	@Override
	public List<ProvinceBean> queryAll(ProvinceBean record) {
		// TODO Auto-generated method stub
		return dao.queryAll(record);
	}

	@Override
	public ProvinceBean queryByProvinceName(String provincename) {
		// TODO Auto-generated method stub
		return dao.queryByProvinceName(provincename);
	}

}
